package cn.swust.designpatternlearningplatform.domain.entity;

import lombok.ToString;

import java.io.Serializable;

/**
 * (PaperResult)实体类
 *
 * @author makejava
 * @since 2023-04-15 21:11:13
 */
@ToString
public class PaperResult implements Serializable {
    private static final long serialVersionUID = -63573828556436895L;

    private Integer id;
    /**
     * 学生的学号
     */
    private String studentNumber;
    /**
     * 测试卷的序号
     */
    private String paperNumber;
    /**
     * 题目id
     */
    private Integer topicId;
    /**
     * 自己选的答案
     */
    private String ownAnswer;
    /**
     * 是否正确（0表示错误，1表示正确）
     */
    private Integer isRight;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }

    public String getPaperNumber() {
        return paperNumber;
    }

    public void setPaperNumber(String paperNumber) {
        this.paperNumber = paperNumber;
    }

    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public String getOwnAnswer() {
        return ownAnswer;
    }

    public void setOwnAnswer(String ownAnswer) {
        this.ownAnswer = ownAnswer;
    }

    public Integer getIsRight() {
        return isRight;
    }

    public void setIsRight(Integer isRight) {
        this.isRight = isRight;
    }

}

